<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="hello">{{fullname}}</div>
    <script src="../vue.js"></script>
    <script>
        const vue01 = new Vue({
            el: '#hello',
            data: {
                firstname:'lin',
                lastname:'zotura',
            },
            computed:{
                fullname:function(){
                    return this.firstname+''+this.lastname;
                }
            }
        })
    </script>
</body>

</html>